package com.example.administrator.leargit.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.example.administrator.leargit.R;
import com.example.administrator.leargit.activity.CommonAvtivity;

/**
 * Created by Administrator on 2016/12/22 0022.
 */
public class AccontFragment extends Basefragment {

    @Override
    protected View onCreateFragmentView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        return inflater.inflate(0, container, false);
    }

    @Override
    protected void onInitView(View view) {
        View title = new TitleBuilder(view)
                .setTitleText("总资产")
                .setRightText("账单")
                .setRightOnClickListener(new View.OnClickListener() {
                    @Override
                    public void onClick(View v) {

                    }
                })
                .setLeftImage()
                .setLeftOnClickListener(new View.OnClickListener() {
                    @Override
                    public void onClick(View v) {
                        mActivity.onBackPressed();
                    }
                })
                .build();
    }

    @Override
    public void onInitActionBar(CommonAvtivity commonAvtivity) {

    }
}
